import { getI18n } from "locales/server"; import { SiteConfig } from "@/shared/config/site-config"; import type { MetadataRoute } from "next"; export default async function manifest(): Promise { const t = await getI18n(); return { name: SiteConfig.title, short_name: SiteConfig.title, description: SiteConfig.description, start_url: "/", display: "standalone", background_color: "#fff", theme_color: SiteConfig.brand.primary, icons: [ { src: "/android-chrome-192x192.png", sizes: "192x192", type: "image/png" }, { src: "/android-chrome-512x512.png", sizes: "512x512", type: "image/png" }, ], }; }